import { createRouter, createWebHistory } from 'vue-router';
import body from './views/index.vue';
import Home from './views/Home.vue';
import CityInfo from './views/CityInfo.vue';
import HistoryCulture from './views/HistoryCulture.vue';
import TouristGuide from './views/TouristGuide.vue';
import Contact from './views/ContactUs.vue';

const routes = [
  { path: '/body', component: body },
  { path: '/', component: Home },

  { path: '/city-info', component: CityInfo },
  { path: '/history-culture', component: HistoryCulture },
  { path: '/tourist-guide', component: TouristGuide },
  { path: '/contact', component: Contact },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
